package com.plus.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.plus.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 公告表实体类
 *
 * @author ht
 * @since 2023-10-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Notice对象", description = "公告表")
@TableName("notice")
public class Notice extends BaseEntity {

    private static final long serialVersionUID = 1L;

  @TableId(value = "notice_id", type = IdType.AUTO)
  private Integer noticeId;
    /**
     * 标题
     */
  @ApiModelProperty(value = "标题")
  private String title;
    /**
     * 通知内容
     */
  @ApiModelProperty(value = "通知内容")
  private String content;
    /**
     * 发布人电话
     */
  @ApiModelProperty(value = "发布人电话")
  private String adminMobile;
    /**
     * 发布人
     */
  @ApiModelProperty(value = "发布人")
  private String admin;
    /**
     * 发布人id
     */
  @ApiModelProperty(value = "发布人id")
  private Integer adminId;


}
